package org.example.springbootblog.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

//自动生成构造函数
@AllArgsConstructor
public enum ResultStatusEnum {
    //200 成功    -1 失败
    SUCCESS(200),
    FAIL(-1);

    @Getter
    int code;
}
